//
//  QiMingADXCommonDefine.h
//  QiMingADXSDK
//
//  Created by Jiangyou on 2021/9/13.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN



typedef NS_ENUM(NSUInteger, QiMingADXLayoutType) {
    QiMingADXLayoutTypeTopImage = 1, // 上图下文
    QiMingADXLayoutTypeBottomImage = 2, // 上文下图
    QiMingADXLayoutTypeLeftImage = 3, // 左图右文
    QiMingADXLayoutTypeRightImage = 4, // 左文右图
    QiMingADXLayoutTypeHorizonImage = 5, // 纯图
};
/// 插屏素材库样式
typedef NS_ENUM(NSUInteger, QiMingADXInterstitialMaterialStyle) {
    /// 0：默认
    QiMingADXInterstitialMaterialStyleNormal = 0,
    /// 1：信封抽拉样式 纯图
    QiMingADXInterstitialMaterialStyleEnvelope = 1,
    /// 2：信封抽拉样式 图文
    QiMingADXInterstitialMaterialStyleEnvelopeImageAndText = 2,
    /// 3：默认信息流
    QiMingADXInterstitialMaterialStyleNativeNormal = 3,
};

/// 支持屏幕样式
typedef NS_ENUM(NSUInteger, QiMingADXAdSupportScreenType) {
    /// 0：默认 竖屏
    QiMingADXAdSupportScreenTypeNormal = 0,
    /// 1：只支持横屏
    QiMingADXAdSupportScreenTypeLandscape = 1,
    /// 2：支持横屏、竖屏之间切换
    QiMingADXAdSupportScreenTypeAuto = 2,
};


/// 互动样式
typedef NS_ENUM(NSUInteger, QiMingADXInteractType) {
    /// 0：默认
    QiMingADXInteractTypeNormal = 0,
    /// 1：摇一摇
    QiMingADXInteractTypeShake = 1,
    /// 2：滑一滑
    QiMingADXInteractTypeFinger = 2,
    /// 3：开屏无
    QiMingADXInteractTypeTap = 3,
    /// 4：擦一擦
    QiMingADXInteractTypeClear = 4,
    /// 5：转动手机
    QiMingADXInteractTypeTurn = 5,
    /// 6：摇一摇和多方向滑动的混合样式
    QiMingADXInteractTypeSlipAndShake = 6,
};

/// 互动玩法
typedef NS_ENUM(NSUInteger, QiMingADXInteractSubType) {
    /// 0：默认
    QiMingADXInteractSubTypeNormal = 0,
    /// 21：向上滑动
    QiMingADXInteractSubTypeTop = 21,
    /// 22：向右滑动
    QiMingADXInteractSubTypeRight = 22,
    /// 23：弧形滑动
    QiMingADXInteractSubTypeCurve = 23,
    /// 51：转一转
    QiMingADXInteractSubTypeTurn = 51,
    /// 52：扭一扭
    QiMingADXInteractSubTypeTwist = 52,
    
};


typedef NS_ENUM(NSUInteger, QiMingADXRenderType) {
    QiMingADXRenderTypeExpress = 1,// 模板
    QiMingADXRenderTypeNative = 2 // 自渲染
};
typedef NS_ENUM(NSUInteger, QiMingADXAnimateSlipDirection) {
    QiMingADXAnimateSlipDirectionDefault = 0,// 默认不支持滑动
    QiMingADXAnimateSlipDirectionTop = 1,// 向上滑动
    QiMingADXAnimateSlipDirectionDown = 2, // 向下滑动
    QiMingADXAnimateSlipDirectionLeft = 3, // 向左滑动
    QiMingADXAnimateSlipDirectionRight = 4, // 向右滑动
};
typedef NS_ENUM(NSInteger,QiMingADXBiddingLossReason) {
    QiMingADXBiddingLossReasonLowPrice          = 1,        // 竞争力不足
    QiMingADXBiddingLossReasonTimeout           = 2,        // 超时
    QiMingADXBiddingLossReasonOther             = 0     // 其他
};

typedef NSString * QiMingADXType NS_EXTENSIBLE_STRING_ENUM;

FOUNDATION_EXPORT QiMingADXType _Nonnull const QiMingADXTypeOther;

FOUNDATION_EXPORT QiMingADXType _Nonnull const QiMingADXTypeSplash;

FOUNDATION_EXPORT QiMingADXType _Nonnull const QiMingADXTypeBanner;

FOUNDATION_EXPORT QiMingADXType _Nonnull const QiMingADXTypeNative;

FOUNDATION_EXPORT QiMingADXType _Nonnull const QiMingADXTypeInterstitial;

FOUNDATION_EXPORT QiMingADXType _Nonnull const QiMingADXTypeRewardVodAd;

FOUNDATION_EXPORT QiMingADXType _Nonnull const QiMingADXTypeFullScrennVodAd;


typedef NSString * QiMingADXStyle NS_EXTENSIBLE_STRING_ENUM;

FOUNDATION_EXPORT QiMingADXStyle _Nonnull const QiMingADXStyleSplashNomal;/**< 普通 */
FOUNDATION_EXPORT QiMingADXStyle _Nonnull const QiMingADXStyleSplashCurveHot;/**< 弧形热区 */
FOUNDATION_EXPORT QiMingADXStyle _Nonnull const QiMingADXStyleSplash3D;/**< 裸眼3D效果 */

FOUNDATION_EXPORT QiMingADXStyle _Nonnull const QiMingADXStyleInterstitialNomal;/**< 普通 */
FOUNDATION_EXPORT QiMingADXStyle _Nonnull const QiMingADXStyleInterstitialEnvelope;/**< 信封 */

FOUNDATION_EXPORT QiMingADXStyle _Nonnull const QiMingADXStyleFlowTOP_PIC_FLOW;/**< 上图下文 */
FOUNDATION_EXPORT QiMingADXStyle _Nonnull const QiMingADXStyleFlowBOTTOM_PIC_FLOW;/**< 上文下图 */
FOUNDATION_EXPORT QiMingADXStyle _Nonnull const QiMingADXStyleFlowHORIZON_PIC;/**< 横版纯图 */
FOUNDATION_EXPORT QiMingADXStyle _Nonnull const QiMingADXStyleFlowLEFT_PIC_FLOW;/**< 左图右文 */
FOUNDATION_EXPORT QiMingADXStyle _Nonnull const QiMingADXStyleFlowRIGHT_PIC_FLOW;/**< 左图右文 */

NS_ASSUME_NONNULL_END
